package cn.com.zcode.auth.model;

import cn.com.zcode.core.model.BaseModelSupport;

public class Resource extends BaseModelSupport {
	private static final long serialVersionUID = 1L;

	private String code;
	private String url;
	private String authType;
	private String comment;
	private int orderIndex;

	public Resource() {
		super();
	}

	public Resource(String code, String url, String authType,   String comment) {
		super();
		this.code = code;
		this.url = url;
		this.authType = authType;
		this.comment = comment;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getAuthType() {
		return authType;
	}

	public void setAuthType(String authType) {
		this.authType = authType;
	}
 

	 

	public int getOrderIndex() {
		return orderIndex;
	}

	public void setOrderIndex(int orderIndex) {
		this.orderIndex = orderIndex;
	}

	public String getComment() {
		return comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

	@Override
	public String toString() {
		return "Resource [code=" + code + ", url=" + url + ", authType=" + authType + ", comment=" + comment + ", orderIndex=" + orderIndex + "]";
	}

}